package com.hippoDocker.feignhystrixorder.service.fallbackImpl;

import com.hippoDocker.feignhystrixorder.service.PaymentFeignService;
import org.springframework.stereotype.Component;

/**
 * @ClassName PaymentFallbackService
 * @Description TODO
 * @Author hippoDocker
 * @Date 2022/6/22 14:46
 **/
@Component
public class PaymentFallbackService implements PaymentFeignService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----paymentInfo_OK_Fallback--服务降级,(T0T)~~";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "-----paymentInfo_Timeout_Fallback--服务降级,(T0T)~~";
    }
}
